package com.kaily.timemanager.net;

import com.kaily.timemanager.obj.HttpResult;
import com.kaily.timemanager.obj.Task;

import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by zhoulikai on 17/3/1.
 * 服务端接口协议
 */

public interface ApiStores {
    //baseUrl
    String API_SERVER_URL = "http://www.weather.com.cn/timemanager";

    @GET("timemanager")
    Observable<HttpResult<List<Task>>> getTasks(@Query("method") String method);
}
